package com.bwf.override;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/10 11:12
 * @Copyright 博为峰
 */
public class Person {
    //alt + insert
    public String name;
    public int age;

    public Person() {
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void work() {
        System.out.println("工作");
    }
}
